<form data-toggle="ajaxform" action="/admin/permission/look-action-set" data-options="{callback:after_set_look_action}">
    <input type="hidden" name="process_ordertype_id" value="{{$processOrdertypeId}}">
    <input type="hidden" name="privilege_id" value="{{$privilegeId}}">
    <div class="bjui-row col-2">
        @foreach ($processFields as $v)
        <div class="row-input">
                <input type="checkbox" name="fields[]" id="set-fields-{{$v['id']}}" value="{{$v['id']}}" data-toggle="icheck" data-label="{{$v['title']}}" @if($v['is_check'] == 1) checked="" @endif>
            </div>
        @endforeach
    </div>
    <div class="btn-group">
        <button type="submit" class="btn-green" data-icon="search">保存</button>
    </div>
</form>
<script>
    function after_set_look_action(){
        BJUI.dialog('closeCurrent')
    }

</script>